package com.partner.mapper.member;

import java.util.List;

import com.partner.bean.member.Member;

public interface MemberMapper {

	int insert(Member s);

	Member selectByPrimaryId(Integer id);

	List<Member> selectAll(Member member);

	int deleteByids(String[] ids);

	int updateByPrimaryKey(Member member);

	int deleteByPrimaryKey(Integer id);

	List<Member> getMembernum(Member member);

	Integer getMaxNum();
	
	Integer selectdirectnum(Integer pid);
	
	void updateBatch(List<Member> list);
	
	Member selectByNum(Integer num);
	
	List<Member> selectnum();

	Integer selectLevelMemberCount();

	List<Member> selectLevelMember(Integer[] level);
}
